﻿<dx:DXWindow x:Class="DevControlLibrary.UI.AddDescriptionWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dx="clr-namespace:DevExpress.Xpf.Core;assembly=DevExpress.Xpf.Core.v12.1"
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"   
        Title="添加描述" Height="415" Width="572"
             FontSize="12"
             FontFamily="NSimSun"
             TextOptions.TextFormattingMode="Display"
             TextOptions.TextRenderingMode="ClearType"
             WindowStartupLocation="CenterScreen" 
             KeyDown="DxWindowKeyDown">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="8*"/>
            <RowDefinition Height="2*"/>
        </Grid.RowDefinitions>
        <ScrollViewer HorizontalScrollBarVisibility="Auto">
            <Grid Name="grid">
                <Grid.RowDefinitions>
                    <RowDefinition Height="33"/>
                    <RowDefinition Height="35"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="5*"/>
                    <ColumnDefinition Width="5*"/>
                </Grid.ColumnDefinitions>
                <DockPanel Grid.Column="0" Grid.Row="0" >
                    <Label Content="PCHA" Margin="5,5,2,5" MinWidth="75" MaxWidth="75"/>
                    <TextBox Text="1" Margin="0,5,5,5"/>
                </DockPanel>
                <DockPanel Grid.Column="1" Grid.Row="0">
                    <Label Content="列:"/>
                    <TextBox Text="1"/>
                </DockPanel>
            </Grid>
        </ScrollViewer>
       
        <Grid Grid.Row="1" Height="40" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="2*"/>
                <ColumnDefinition Width="3*"/>
                <ColumnDefinition Width="3*"/>
                <ColumnDefinition Width="2*"/>
            </Grid.ColumnDefinitions>
            <dxe:ButtonEdit Name="BtnSubmit" Margin="5,5,5,5" ShowText="False" Width="100" AllowDefaultButton="False"  Grid.Column="1">
                <dxe:ButtonInfo GlyphKind="Custom" Content="确定" ButtonKind="Simple" Click="BtnSubmitClick"/>
            </dxe:ButtonEdit>
            <dxe:ButtonEdit Name="BtnCanel" Margin="5,5,5,5" Width="100" ShowText="False" AllowDefaultButton="False" Grid.Column="2">
                <dxe:ButtonInfo GlyphKind="Custom" Content="取消" ButtonKind="Simple" Click="BtnCanelClick"/>
            </dxe:ButtonEdit>
            <!--<Button Content="确定" IsDefault="True" Margin="5,5,5,5" Name="BtnSubmit" Click="BtnSubmit_Click"></Button>
            <Button Content="取消" IsCancel="True" Margin="5,5,5,5" Name="BtnCanel" Grid.Column="1" Click="BtnCanel_Click"></Button>-->
        </Grid>
    </Grid>
</dx:DXWindow>
